package cn.edu.zut.cs.dao;

import cn.edu.zut.cs.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentDao {
    List<Student> getAllStudents();
    Student getStudentByNo(int rollNo);
    void updateStudent(Student student);
    void deleteStudent(Student student);

    void addStudent(Student student);

    Student getStudent(int i);
}